﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.Data.Entity
{
    public static class ForeignKeyNavigationPropertyConfigurationExtensions
    {
        public static CascadableNavigationPropertyConfiguration MapColumns(this ForeignKeyNavigationPropertyConfiguration config, params string[] keyColumnNames)
        {
            return config.Map(t => t.MapKey(keyColumnNames));
        }
    }
}
